package com.uml.umlwork.entity.enumeration;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;
/**
 * @author Siki
 * @date 2020/12/22
 */
@Getter
public enum RoleEnum {
    TEACHER("培训师"),
    STUDENT("学生"),
    ADMIN("管理员");

    @EnumValue
    String name;

    RoleEnum(String name) {
        this.name = name;
    }
}
